package com.bocloud.service;

import com.bocloud.model.*;
import java.util.List;

public interface UserService {

	/*查询所有用户*/
	public Pagination getAllUsers(Integer currPage,Integer Page_size);

	/*按用户名或工号进行条件查询*/
	public Pagination getBy(Integer currPage,Integer Page_size,User user);

	/*新增用户*/
	public boolean addUser(User user);

	public User getById(User user);

	/*所属上级下拉框*/
	public List<User> getAllSuperior();

	public List<User> getSuperior(User user);

	public boolean delete(String[] jobNum);


	public boolean update(User user);

	public User getRoleById(User user);

	public boolean updateRole(User user);

}
